package com.ruoyi.recycle.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("商品配置信息记录表")
@TableName("commodity_size_config")
public class CommoditySizeConfig implements Serializable {

    private static final long serialVersionUID = 820805181740798603L;
    @ApiModelProperty(name = "id", value = "id", dataType = "Integer")
    private Integer id;
    @ApiModelProperty(name = "sizeName", value = "名称", dataType = "String")
    private String sizeName;
    @ApiModelProperty(name = "sizeType", value = "类型（1.规格类型，2.尺寸", dataType = "String")
    private String sizeType;
    @ApiModelProperty(name = "commodityId", value = "商品ID", dataType = "Integer")
    private int commodityId;
    @ApiModelProperty(name = "createdBy", value = "createdBy", dataType = "String")
    private String createdBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(name = "createdTime", value = "createdTime", dataType = "Date")
    private Date createdTime;
    @ApiModelProperty(name = "updatedBy", value = "updatedBy", dataType = "String")
    private String updatedBy;
    @ApiModelProperty(name = "updatedTime",value = "updatedTime",dataType = "Date")
    private Date updatedTime;

}
